package com.jerry.security.service;

import com.jerry.security.dao.UserDao;
import com.jerry.security.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Jerry.Wu
 * @description:
 * @date 2018/8/29 18:56
 */
@Service
public class UserService extends BaseService<User, Integer> {

    @Autowired
    private UserDao userDao;

    public User findUserByUsername(String username) {
        return userDao.findUserByUsername(username);
    }

}
